module MC.Money {
	export class Jilu {
		public constructor() {
			this.init();
		}
		private jilu: MC.Page;
		private init() {
			this.jilu = new MC.Page('.infoDiv', 'getMoneyJilu', {}, (list: any) => {
				console.log(list);
				var html = '';
				for (var i = 0; i < list.length; i++) {
					var obj = list[i];
					let bale=' <span class="notes">' + obj.notes + '</span>';
					html += ' <li class="li">\n' +
						'                        <a href="/h5/my/money/info?out_trade_no=' + obj.out_trade_no + '" class="a">\n' +
						'                            <div class="pli">\n' +
						'                                <span class="label">' + obj.type + ':</span>\n' +
						'                                <span class="value">¥' + obj.money + '元</span> \n' +
						'                                <span class="time">' + obj.time + '</span></span>\n' +
						'                            </div>\n' +
						'                             \n' +
						'                            <div class="pli">\n' +
						'                                <span class="status">状态:' + obj.status + '</span>\n' +
															bale+ 
						'                            </div>\n' +
						'                              \n' +
						'                        </a>\n' +
						'                    </li>';
				}
				this.jilu.selectBody.find('.ul').append(html);
			});
			this.jilu.init();
		}
	}
}